<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>渠道分区国家修改</title>
    <link href="__PUBLIC__/css/admin/reset.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/css/admin/zh-cn-system.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/css/admin/table_form.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles1.css" title="styles1" media="screen">
    <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles2.css" title="styles2" media="screen">
    <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles3.css" title="styles3" media="screen">
    <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles4.css" title="styles4" media="screen">
    <script type="text/javascript" src="__PUBLIC__/js/admin/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/jquery.cookie.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/styleswitch.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/admin/admin_common.js"></script>
    <script language="javascript" type="text/javascript" src="__PUBLIC__/js/admin/formvalidator.js" charset="UTF-8"></script>
    <script language="javascript" type="text/javascript" src="__PUBLIC__/js/admin/formvalidatorregex.js" charset="UTF-8"></script>
</head>
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a class="add fb" href="__MODULE__/cpc/add/pid/0"><em>添加渠道信息</em></a>&nbsp;&nbsp;&nbsp;<a class="" href="__MODULE__/cpc/index"><em>渠道信息管理</em></a>
    </div>
</div>
<style type="text/css">
    html{_overflow-y:scroll}
    .table_form{
        border-top: solid 1px #eee;
    }
    #classy{
        width:300px;
    }
</style>
<div class="pad-lr-10">
    <form  action="__MODULE__/CPC/edit/nid/<!--{$Think.get.nid}-->" method="post">
        <table cellpadding=0 cellspacing=0 class="table_form" width="100%">
            <tr>
                <td align="right">上一级：</td>
                <td>
                    <select name="pid" style="width: 300px">
                        <option value="0">顶级</option>
                        <foreach name="cpc" item="val">
                            <if condition="$val['id'] == $arr[0]['pid']">
                                <option value="<!--{$val['id']}-->" selected><!--{$val['cname']}-->&nbsp;&nbsp;<!--{$val['ename']}--></option>
                                <else />
                                <option value="<!--{$val['id']}-->"><!--{$val['cname']}-->&nbsp;&nbsp;<!--{$val['ename']}--></option>
                            </if>

                        </foreach>
                    </select>

                </td>
            </tr>
            <tr>
                <td width="10%" align="right">中文名(cn)：</td>
                <td width="90%">
                    <input type="text" class="input-text" name="cname" id="cpc" value="<!--{$arr[0]['cname']}-->" size="40" required title="请输入中文名称"/>
                </td>
            </tr>
            <tr>
                <td width="10%" align="right">英文名（en）：</td>
                <td width="90%">
                    <input type="text" class="input-text" name="ename" id="cpc_cn" value="<!--{$arr[0]['ename']}-->" size="40" required title="请输入英文名称"/>
                </td>
            </tr>
            <tr>
                <td width="10%" align="right">分类（classy）：</td>
                <td width="90%">
                    <select name="classy" id="classy">
                        <foreach name="cla" item="val">
                            <if condition="$val['classy']==$arr[0]['classy']">
                                <option value="<!--{$val['classy']}-->" selected><!--{$val['class']}--></option>
                            <else/>
                                <option value="<!--{$val['classy']}-->" ><!--{$val['class']}--></option>
                            </if>
                        <option value=""></option>
                        </foreach>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="10%" align="right">排序（sort）：</td>
                <td width="90%">
                    <input type="text"class="input-text" name="sort" id="sort" value="0" size="40" title="排序"/>
                </td>
            </tr>

        </table>
        <div class="bk15"></div>
        <div class="btn">
            <input type="submit" name="dosubmit" id="dosubmit" value="提交" class='button'>&nbsp;<input type="reset" value="重置" class='button'>
        </div>
    </form>
</div>
<script type="text/javascript">

</script>
</body>
</html>